package GaoYuXuan.Homework0714;

import java.util.Random;
import java.util.UUID;

/**
 * @author 盖
 * @version 1.0
 * @since 2022-07-14 19:42:37
 */
public class RandomDemo1 {
    public static void main(String[] args) {
        Random ran = new Random();
        //随机产生1~100的五个数
//        for(int i = 1; i <= 5; i++){
//            System.out.println(ran.nextInt(100) + 1);
//        }
        String filename = ".java";
        for (int i = 1; i <= 5; i++){
            String unname = UUID.randomUUID().toString() + filename;
            System.out.println(unname);
        }
    }
}